<template>
  <div class="map-test-page">
    <div class="test-header">
      <h2>腾讯地图功能测试</h2>
      <el-button @click="goBack" type="default">返回</el-button>
    </div>
    
    <div class="test-content">
      <BasicMapTest />
    </div>
  </div>
</template>

<script setup>
import { useRouter } from 'vue-router'
import BasicMapTest from '@/components/BasicMapTest.vue'

const router = useRouter()

const goBack = () => {
  router.go(-1)
}
</script>

<style scoped>
.map-test-page {
  min-height: 100vh;
  background: #f5f5f5;
}

.test-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: white;
  border-bottom: 1px solid #e4e7ed;
}

.test-header h2 {
  margin: 0;
  color: #333;
}

.test-content {
  padding: 20px;
}
</style>
